
package com.fx.apartment.common.pops;

import com.fx.apartment.common.tool.utils.PathUtil;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.lang.Nullable;


/**
 * 文件上传配置
 *
 * @author QinXueFeng
 */
@Getter
@Setter
@ConfigurationProperties("qin.upload")
public class QinUploadProperties {

	/**
	 * 文件保存目录，默认：jar 包同级目录
	 */
	@Nullable
	private String savePath = PathUtil.getJarPath();

	/**
	 * 域名
	 */
	private String domain ;
}
